package net.hn.hnms.biz.material.request;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: ly
 * 物资入库表
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
public class StockInReq extends BaseReq{
    @ApiModelProperty(value = "主键ID")
    private String stockInId;
    @ApiModelProperty(value = "矿编码")
    private String mineCode;
    @ApiModelProperty(value = "矿名称")
    private String mineName;
    @ApiModelProperty(value = "入库单号")
    private String recordCode;
    @ApiModelProperty(value = "物资编码")
    private String materialCode;
    @ApiModelProperty(value = "物资名称")
    private String materialName;
    @ApiModelProperty(value = "规格型号")
    private String specificationModel;
    @ApiModelProperty(value = "合同号")
    private String contractCode;
    @ApiModelProperty(value = "纸质合同编号")
    private String paperContractCode;
    @ApiModelProperty(value = "数量")
    private Integer quantity;
    @ApiModelProperty(value = "计量单位")
    private String unit;
    @ApiModelProperty(value = "单证日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date recordDate;
    @ApiModelProperty(value = "验收单号")
    private String acceptanceCheckCode;
    @ApiModelProperty(value = "发票号")
    private String invoiceCode;
    @ApiModelProperty(value = "物资分类")
    private String materialType;
    @ApiModelProperty(value = "供应商")
    private String supplier;
    @ApiModelProperty(value = "供应商编号")
    private String supplierCode;
    @ApiModelProperty(value = "仓库名称")
    private String stockName;
    @ApiModelProperty(value = "仓库编号")
    private String stockCode;
    @ApiModelProperty(value = "入库类型")
    private String inType;
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "入库时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date inOutDate;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    @ApiModelProperty(value = "最后修改时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;
    @ApiModelProperty(value = "删除标识 0正常 1删除")
    private String delFlag;
}









